package com.logicalthinking.socialmall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 社交小程序
 * @author Chen LiJia
 * @since 2020/2/17
 */
@MapperScan(value = {"com.github.chenlijia1111.commonModule.dao",
        "com.logicalthinking.socialmall.dao"})
@ComponentScan(value = {"com.github.chenlijia1111.commonModule",
        "com.logicalthinking.socialmall"})
@EnableTransactionManagement
@EnableConfigurationProperties
@EnableSwagger2
@ServletComponentScan
@SpringBootApplication
public class SocialmallApplication {

    public static void main(String[] args) {
        SpringApplication.run(SocialmallApplication.class, args);
    }

}
